﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using My.ELibrary.Model.Notic;
using My.ELibrary.Business.Notic;

public partial class Notic_NoticeDetail : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            ElibNoticeModel obj = new ElibNoticeModel();
            string top = "1";
            if (Request.QueryString["id"] != null)
            {
                top = Request.QueryString["id"].ToString();
                obj = ElibNoticeBLL.GetInstance().SelectOne(int.Parse(top));
                Label1.Text = obj.Title;
                Label2.Text = obj.Content;
              
            }

        }
    }
}
